<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构对象</title>
    <script>
        let obj={
            id:10086,
            name:"ldh",
            age:50
        }


        let {name,id,age,...others} = obj;

        //console.log(id);
        //console.log(nn);
        console.log(others)



    </script>
</head>
<body>

</body>
</html>